home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
tsutle22.zip
/
TDELTEST.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-01
|
928b
|
32 lines
echo off
echo.
echo ┌───────────────────────────────────────────────────────────┐
echo │ Make test directories and files to practice with TDEL.EXE │
echo │ By Prof. Timo Salmi, ts@chyde.uwasa.fi, Sun 1-Dec-1991 │
echo └───────────────────────────────────────────────────────────┘
echo.
rem Check that you have the drive r: available (I have r: as ramdisk)
rem If not, adjust as appropriate
if not exist r:\nul goto _no_r
rem Make two test directories and put some files in them
mkdir r:\testdir
mkdir r:\testdir\subdir1
mkdir r:\testdir\subdir1\level3
mkdir r:\testdir\subdir2
copy c:\autoexec.bat r:\testdir
copy *.bat r:\testdir\subdir1 > nul
copy c:\config.sys r:\testdir\subdir1\level3
copy c:\autoexec.bat r:\testdir\subdir2
ren r:\testdir\subdir2\autoexec.bat level2.bat
goto _out
:_no_r
echo Drive R: not found
echo Adjust your configuration or this batch
goto _out
:_out
echo on